import React from 'react';
import * as echarts from 'echarts';
import 'default-passive-events'
import './sacc/index.scss'
import { Tabs } from 'antd';
import type { TabsProps } from 'antd';
import Induxs from './components/index'
const Index = () => {
    const onChange = (key: string) => {
        console.log(key);
    };
    const items: TabsProps['items'] = [
        {
            key: '1',
            label: `今天`,
            children: <Induxs></Induxs>,
        },
        {
            key: '2',
            label: `昨天`,
            children: `Content of Tab Pane 2`,
        },
        {
            key: '3',
            label: `最近30天`,
            children: `Content of Tab Pane 3`,
        },
        {
            key: '4',
            label: `一年`,
            children: `Content of Tab Pane 3`,
        },
        {
            key: '5',
            label: `全部`,
            children: `Content of Tab Pane 3`,
        },
    ];
    return (
        <div>
            <Tabs defaultActiveKey="1" items={items} onChange={onChange} />
        </div>
    );
};

export default Index;